[C#] Apparently it's important to use Int32 instead of int when messing with DLLImport stuff?

Posted by Rudi on Stack Overflow See other posts from Stack Overflow or by Rudi
Published on 2010-05-17T23:35:36Z Indexed on 2010/05/17 23:40 UTC
Read the original article Hit count: 133

Filed under:
|
|
|

In C#, when messing with that system DLLImport/(unmanaged?) code stuff, I read somewhere it's important to use Int32 exact type instead of int. Is this true? And can someone please elaborate on why it's important to do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about int